<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<title>華信商会(株) 販売管理業務システム</title>
		<meta name="renderer" content="webkit">

		<link rel="stylesheet" href="css/bootstrap.min.css" />
		<link rel="stylesheet" href="css/style.css" />
		<link rel="stylesheet" href="css/datetimepicker/bootstrap-datetimepicker.min.css" media="screen" />
	</head>

	<body>
		<%@include file="common/include.jsp" %>

		<!-- Body Begin -->
		<div class="container">
			<div class="row">
				<div class="col-md-12">
					<div class="panel panel-default">
						<div class="panel-heading">
							<div class="row">
								<div class="col-md-6" align="left">
									<font style="font-size: 14px;line-height: 29px;">商品別受注実績月報</font>
								</div>

							</div>
						</div>
						<div class="panel-body">
							<div class="row">
								<div class="col-md-6">
									<div id="main" style="width: 600px; height: 400px;">
										<script type="text/javascript" src="js/echarts.min.js"></script>
										<script type="text/javascript">
											// 基于准备好的dom，初始化echarts实例
											var myChart = echarts.init(document.getElementById('main'));

											// 指定图表的配置项和数据
											var option = {
												title: {
													text: ''
												},
												tooltip: {},
												legend: {
													data: ['商品コード']
												},
												xAxis: {
													data: ${pr10401shouhinlist}
												},
												yAxis: {},
												series: [{
													name: '受注额合计',
													type: 'bar',
													data: ${pr10401sumlist}
												}]
											};

											// 使用刚指定的配置项和数据显示图表。
											myChart.setOption(option);
										</script>
									</div>
									<br />
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<%@include file="common/include2.jsp" %>
	</body>

</html>